<template>
  <a-card :bordered="false">
    <div class="card-header">
      <span class="card-header-title">分类管理</span>
      <a-button type="primary">新增</a-button>
    </div>
    <a-table :columns="columns"
             :row-selection="{}"
             :pagination="tablePageConfig">

    </a-table>
  </a-card>
</template>
<script setup lang="ts">
import {tablePageConfig} from "@/config";

const columns = [
  {title: '名称', dataIndex: 'name', key: 'name'},
  {title: '统计', dataIndex: 'counts', key: 'counts',width:200},
  {title: '操作', key: 'action',width: 200},
]
</script>

<style scoped>

</style>